package com.ruoyi.journal.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 收入支出表对象 bfx_categories
 * 
 * @author ruoyi
 * @date 2025-02-25
 */
public class BfxCategories extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 收支id */
    private Long id;

    /** 收支类别 */
    @Excel(name = "收支类别")
    private String categoriesName;

    /** 上级id */
    @Excel(name = "上级id")
    private Long superiorId;

    /** 编码 */
    @Excel(name = "编码")
    private String codeNumber;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 关联现金流id */
    @Excel(name = "关联现金流id")
    private Long cashFlowId;

    /** 只能匹配关键字 */
    @Excel(name = "只能匹配关键字")
    private String intelligentKeywords;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCategoriesName(String categoriesName) 
    {
        this.categoriesName = categoriesName;
    }

    public String getCategoriesName() 
    {
        return categoriesName;
    }
    public void setSuperiorId(Long superiorId) 
    {
        this.superiorId = superiorId;
    }

    public Long getSuperiorId() 
    {
        return superiorId;
    }
    public void setCodeNumber(String codeNumber) 
    {
        this.codeNumber = codeNumber;
    }

    public String getCodeNumber() 
    {
        return codeNumber;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCashFlowId(Long cashFlowId) 
    {
        this.cashFlowId = cashFlowId;
    }

    public Long getCashFlowId() 
    {
        return cashFlowId;
    }
    public void setIntelligentKeywords(String intelligentKeywords) 
    {
        this.intelligentKeywords = intelligentKeywords;
    }

    public String getIntelligentKeywords() 
    {
        return intelligentKeywords;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("categoriesName", getCategoriesName())
            .append("superiorId", getSuperiorId())
            .append("codeNumber", getCodeNumber())
            .append("name", getName())
            .append("cashFlowId", getCashFlowId())
            .append("intelligentKeywords", getIntelligentKeywords())
            .toString();
    }
}
